package com.pj.api;

import com.pj.entity.ProductInfo;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;


public interface ProductApi {
    @GetMapping("/product/api/findbyId")
    ProductInfo findbyId(@RequestParam(name = "bizId") String bizId);

    @GetMapping("/product/api/productManage/page")
    ProductInfo page(@RequestParam(name = "name") String name);

    @GetMapping("/product/api/productManage/list")
    ProductInfo list(@RequestParam(name = "name") String name);
}
